import Vue from 'vue'
import Router from 'vue-router'
//import Hello from '@/components/Hello'
import Home from '@/imports/Home'
import nav from '@/imports/nav'
import Water from '@/imports/Water'
import Login from '@/pages/Login'
import  my1 from '@/pages/my1'



Vue.use(Router)
export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: '导航',
      component: nav,
      children: [
        { path: '/Water', component: Water, name: 'Water'},
        { path: '/Login', component: Login, name: 'Login'},
        { path: '/my1', component: my1, name: 'my1'},
      ]
    },


  ]
})
